﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace sp.tilmann.tests
{
    [TestFixture]
    public class tilmanntest
    {
        [Test]
        public void ProcessText_haengt_den_eigenen_Namen_an()
        {
            var sut = new sp.tilmann.tilmann();
            string Result = "";

            sut.OnText += delegate(string OutputText)
                              {
                                  Result = OutputText;
                              };

            sut.ProcessText("test");

            Assert.That(Result, Is.EqualTo("testtilmann"));
        }
    }
}
